package com.glowdayz.model;

import java.util.ArrayList;

import com.glowdayz.common.HttpHandler.FileInfo;

/** 브랜드 정보를 표현하는 Model 클래스 */
public class BrandCMD {
	
	private int idBrand;
	private String brandTitle;
	private String promotionText;
	private int sortKey;
	private int isDisplay;
	private int isRecommend;
	private String brandUrl;
	private String brandFacebook;
	private String twitter;
	private String kakaotalk;
	private String youTube;
	private String tel;
	private String start_date;
	private String end_date;
	private int brandImg;
	private FileInfo image;
	private String create_date;
	private String modified_date;
	private int productCount;
	private int pouchCount;
	private int eventCount;
	private ArrayList<BrandBannerCMD> banner_list;
	
	public BrandCMD() {
	}
	
	/** 브랜드 리스트 xml */
	public BrandCMD(int idBrand, String brandTitle, int productCount, String create_date, String modified_date) {
		super();
		this.idBrand = idBrand;
		this.brandTitle = brandTitle;
		this.productCount = productCount;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}
	
	/** 브랜드 검색 리스트 xml */
	public BrandCMD(int idBrand, String brandTitle, String create_date) {
		super();
		this.idBrand = idBrand;
		this.brandTitle = brandTitle;
		this.create_date = create_date;
	}
	
	/** 추천 브랜드 리스트 xml */
	public BrandCMD(int idBrand, String brandTitle, String promotionText, int isRecommend, 
			String create_date, String modified_date) {
		super();
		this.idBrand = idBrand;
		this.brandTitle = brandTitle;
		this.promotionText = promotionText;
		this.isRecommend = isRecommend;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}
	
	/** 브랜드 조회용 xml */
	public BrandCMD(int idBrand, String brandTitle, String brandUrl,
			String brandFacebook, String twitter, String kakaotalk, String youTube,
			int pouchCount, int eventCount, String create_date, ArrayList<BrandBannerCMD> banner_list) {
		super();
		this.idBrand = idBrand;
		this.brandTitle = brandTitle;
		this.brandUrl = brandUrl;
		this.brandFacebook = brandFacebook;
		this.twitter = twitter;
		this.kakaotalk = kakaotalk;
		this.youTube = youTube;
		this.pouchCount = pouchCount;
		this.eventCount = eventCount;
		this.create_date = create_date;
		this.banner_list = banner_list;
	}

	public BrandCMD(int idBrand, String brandTitle, String promotionText,
			int sortKey, int isDisplay, int isRecommend, String brandUrl,
			String brandFacebook, String twitter, String kakaotalk,
			String youTube, String tel, String start_date, String end_date,
			int brandImg, FileInfo image, String create_date,
			String modified_date, int productCount, int pouchCount,
			int eventCount, ArrayList<BrandBannerCMD> banner_list) {
		super();
		this.idBrand = idBrand;
		this.brandTitle = brandTitle;
		this.promotionText = promotionText;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.isRecommend = isRecommend;
		this.brandUrl = brandUrl;
		this.brandFacebook = brandFacebook;
		this.twitter = twitter;
		this.kakaotalk = kakaotalk;
		this.youTube = youTube;
		this.tel = tel;
		this.start_date = start_date;
		this.end_date = end_date;
		this.brandImg = brandImg;
		this.image = image;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.productCount = productCount;
		this.pouchCount = pouchCount;
		this.eventCount = eventCount;
		this.banner_list = banner_list;
	}

	public int getIdBrand() {
		return idBrand;
	}

	public void setIdBrand(int idBrand) {
		this.idBrand = idBrand;
	}

	public String getBrandTitle() {
		return brandTitle;
	}

	public void setBrandTitle(String brandTitle) {
		this.brandTitle = brandTitle;
	}

	public String getPromotionText() {
		return promotionText;
	}

	public void setPromotionText(String promotionText) {
		this.promotionText = promotionText;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public int getIsRecommend() {
		return isRecommend;
	}

	public void setIsRecommend(int isRecommend) {
		this.isRecommend = isRecommend;
	}

	public String getBrandUrl() {
		return brandUrl;
	}

	public void setBrandUrl(String brandUrl) {
		this.brandUrl = brandUrl;
	}

	public String getBrandFacebook() {
		return brandFacebook;
	}

	public void setBrandFacebook(String brandFacebook) {
		this.brandFacebook = brandFacebook;
	}

	public String getTwitter() {
		return twitter;
	}

	public void setTwitter(String twitter) {
		this.twitter = twitter;
	}

	public String getKakaotalk() {
		return kakaotalk;
	}

	public void setKakaotalk(String kakaotalk) {
		this.kakaotalk = kakaotalk;
	}

	public String getYouTube() {
		return youTube;
	}

	public void setYouTube(String youTube) {
		this.youTube = youTube;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public int getBrandImg() {
		return brandImg;
	}

	public void setBrandImg(int brandImg) {
		this.brandImg = brandImg;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	public int getProductCount() {
		return productCount;
	}

	public void setProductCount(int productCount) {
		this.productCount = productCount;
	}

	public int getPouchCount() {
		return pouchCount;
	}

	public void setPouchCount(int pouchCount) {
		this.pouchCount = pouchCount;
	}

	public int getEventCount() {
		return eventCount;
	}

	public void setEventCount(int eventCount) {
		this.eventCount = eventCount;
	}

	public ArrayList<BrandBannerCMD> getBanner_list() {
		return banner_list;
	}

	public void setBanner_list(ArrayList<BrandBannerCMD> banner_list) {
		this.banner_list = banner_list;
	}

	@Override
	public String toString() {
		return "BrandCMD [idBrand=" + idBrand + ", brandTitle=" + brandTitle
				+ ", promotionText=" + promotionText + ", sortKey=" + sortKey
				+ ", isDisplay=" + isDisplay + ", isRecommend=" + isRecommend
				+ ", brandUrl=" + brandUrl + ", brandFacebook=" + brandFacebook
				+ ", twitter=" + twitter + ", kakaotalk=" + kakaotalk
				+ ", youTube=" + youTube + ", tel=" + tel + ", start_date="
				+ start_date + ", end_date=" + end_date + ", brandImg="
				+ brandImg + ", image=" + image + ", create_date="
				+ create_date + ", modified_date=" + modified_date
				+ ", productCount=" + productCount + ", pouchCount="
				+ pouchCount + ", eventCount=" + eventCount + ", banner_list="
				+ banner_list + "]";
	}
}
